package com.vip.dao.shop.dao;

import com.vip.dao.shop.domain.ShopComm;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface ShopCommDao extends JpaRepository<ShopComm,Long> {

    List<ShopComm> findShopCommsByType(String type);

    ShopComm findShopCommByName(String name);
}
